package com.Pawtrack.info.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.Pawtrack.common.annotation.Excel;
import com.Pawtrack.common.core.domain.BaseEntity;

/**
 * 宠物健康对象 pet_health
 * 
 * @author ruoyi
 * @date 2025-08-14
 */
public class PetHealth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 健康记录ID */
    private Long id;

    /** 宠物ID */
    @Excel(name = "宠物ID")
    private Long petId;

    /** 类型（疫苗/驱虫/体重/体检） */
    @Excel(name = "类型", readConverterExp = "疫苗/驱虫/体重/体检")
    private String type;

    /** 记录内容 */
    @Excel(name = "记录内容")
    private String content;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordTime;

    /** 下次提醒时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "记录日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date recordDate;

    /** 状态（0正常 1已完成） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=已完成")
    private String status;

    /** 提醒ID */
    @Excel(name = "提醒ID")
    private String reminderId;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 备注 */
    private String remark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPetId(Long petId) 
    {
        this.petId = petId;
    }

    public Long getPetId() 
    {
        return petId;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    public void setRecordTime(Date recordTime)
    {
        this.recordTime = recordTime;
    }

    public Date getRecordTime()
    {
        return recordTime;
    }

    public void setNextRemindTime(Date nextRemindTime)
    {
        this.recordDate = nextRemindTime;
    }

    public Date getRecordDate()
    {
        return recordDate;
    }

    public String getStatus()
    {
        return status;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }


    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public void setRecordDate(Date recordDate) {
        this.recordDate = recordDate;
    }

    public String getReminderId() {
        return reminderId;
    }

    public void setReminderId(String reminderId) {
        this.reminderId = reminderId;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("petId", getPetId())
            .append("type", getType())
            .append("content", getContent())
            .append("recordDate", getRecordDate())
            .append("status", getStatus())
            .append("reminderId", getReminderId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
